<?php
class Pageley_Mapper_State {
	public static $CREATED;
	public static $CLEAN;
	public static $UPDATED;
	public static $DELETED;
	
	private $name;
	
	public function __construct($name) {
		$this->name = $name;
	}
	
	public function __toString() {
		return $this->name;
	}
}

Pageley_Mapper_State::$CLEAN = new Pageley_Mapper_State("clean");
Pageley_Mapper_State::$CREATED = new Pageley_Mapper_State("created");
Pageley_Mapper_State::$DELETED = new Pageley_Mapper_State("deleted");
Pageley_Mapper_State::$UPDATED = new Pageley_Mapper_State("updated");

